package com.by;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients//启用feign支持,这个com.by的package是feign接口所在包,不一样就不会自动扫描到
public class App 
{
    public static void main( String[] args )
    {
        SpringApplication.run(App.class);
    }
}
